﻿using System;

namespace RoketSolutions.SP2010.Infrostructure.Common
{
    [Serializable]
    public class Field
    {
        public string DisplayName { get; set; }
        public string Name { get; set; }
        public Guid Id { get; set; }

        public Field() { }

        public Field(Guid fieldId, string internalName)
        {
            Id = fieldId;
            Name = internalName;
        }

        public Field(string displayName, string internalName)
        {
            DisplayName = displayName;
            Name = internalName;
        }

        public Field(string internalName)
        {
            Name = internalName;
        }
    }
}